module.exports = {
  base: "/doc/",
  title: "h5-dooring",
  dest: "./doc-dist",
  themeConfig: {
    search: false,
    searchMaxSuggestions: 10,
    lastUpdated: "Last Updated",
    nav: [
      { text: "首页", link: "/" },
      { text: "文档", link: "/zh/guide/" },
      // { text: '1.X', link: '/zh/guide/' },
      // { text: '语言', link: '/zh/guide/' },
      { text: "体验", link: "http://h5.dooring.cn" },
      { text: "github", link: "https://github.com/MrXujiang/h5-Dooring" }
    ],
    sidebar: [
      {
        title: "基本介绍",
        path: "/zh/guide/",
        collapsable: false,
        sidebarDepth: 1
      },
      {
        title: "doring如何工作",
        path: "/zh/guide/introduced",
        collapsable: false,
        sidebarDepth: 1
      },
      {
        title: "快速上手",
        path: "/zh/guide/startedQuickly",
        collapsable: false,
        sidebarDepth: 1
      },
      {
        title: "目录结构",
        path: "/zh/guide/directoryStructure",
        collapsable: false,
        sidebarDepth: 1
      },
      {
        title: "组件开发",
        collapsable: false,
        sidebarDepth: 1,
        type: "group",
        children: [
          {
            name: "componentStructure",
            title: "组件结构",
            path: "/zh/guide/componentDev/componentStructure",
            collapsable: false,
            sidebarDepth: 2
          },
          {
            name: "DSLAnalysis",
            title: "DSL设计",
            path: "/zh/guide/componentDev/DSLAnalysis",
            collapsable: false,
            sidebarDepth: 2
          },
          {
            name: "dynamicLoading",
            title: "动态加载",
            path: "/zh/guide/componentDev/dynamicLoading",
            collapsable: false,
            sidebarDepth: 1
          }
        ]
      },
      {
        title: "功能实现",
        collapsable: false,
        sidebarDepth: 1,
        type: "group",
        children: [
          {
            title: "模板库",
            path: "/zh/guide/functionRealization/templateLibrary",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "保存json",
            path: "/zh/guide/functionRealization/saveJson",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "下载源码",
            path: "/zh/guide/functionRealization/download",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "网页预览",
            path: "/zh/guide/functionRealization/pagePreview",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "真机预览",
            path: "/zh/guide/functionRealization/machinePreview",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "撤销/重做",
            path: "/zh/guide/functionRealization/revocation",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "截图功能",
            path: "/zh/guide/functionRealization/screenshot",
            collapsable: false,
            sidebarDepth: 1
          }
        ]
      },
      {
        title: "私有化部署和二次开发",
        collapsable: false,
        sidebarDepth: 1,
        type: "group",
        children: [
          {
            title: "私有化部署",
            path: "/zh/guide/deployDev/deploy",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "v6.dooring私有化部署(临时)",
            path: "/zh/guide/deployDev/deploy_v6",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "服务端数据说明",
            path: "/zh/guide/deployDev/dir",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "支持https",
            path: "/zh/guide/deployDev/https",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "接入第三方oss",
            path: "/zh/guide/deployDev/oss",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "获取Form组件的值数据",
            path: "/zh/guide/deployDev/form",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "API接口文档",
            path: "/zh/guide/deployDev/api",
            collapsable: false,
            sidebarDepth: 1
          },
          {
            title: "更新日志",
            path: "/zh/guide/deployDev/log",
            collapsable: false,
            sidebarDepth: 1
          }
        ]
      }
    ]
  }
};
